package com.zenagro.domain.zenagro;

// No beginning comment snippet from this extension MP-MANAGED-ADDED-AREA-BEGINNING @import@// No ending comment snippet from this extension 
// No beginning comment snippet from this extension MP-MANAGED-ADDED-AREA-ENDING @import@// No ending comment snippet from this extension 
import java.sql.*;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import java.util.Set;
import java.util.HashSet;

import javax.persistence.*;
import javax.xml.bind.annotation.*;

import org.openxava.annotations.*;

import com.zenagro.domain.zenagro.AnalisisSolucionCultivo;
import com.zenagro.domain.zenagro.Cultivo;
import com.zenagro.domain.zenagro.base.*;

/**
 *
 * <p>Title: Solucion</p>
 *
 * <p>Description: Domain Object describing a Solucion entity</p>
 *
 */
@Entity (name="Solucion")
@Table (name="solucion")
@Views({
	@View(
		name="base",
		members="id  ; fecha  ; litrosMicrosM  ; tanque1  ; tanque2  ; tanque3  ; tanque4  ; "
       
		),

	@View(
		name="DEFAULT", 
		extendsView="base"),
     

   @View(name="reference", members="fecha" 
      
   )
})

@Tabs({
@Tab(
properties=
     " fecha "
    +",  litrosMicrosM "
    +",  tanque1 "
    +",  tanque2 "
    +",  tanque3 "
    +",  tanque4 "
  
)

})
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Solucion extends Identificable{

   

	@Required
    @Column(name="fecha",    nullable=true,  unique=false)
    @Temporal(TemporalType.DATE)
    private java.util.Date fecha;

	@Required
    @Column(name="litros_micros_m",    nullable=true,  unique=false)
    private java.math.BigDecimal litrosMicrosM;

	@Required
    @Column(name="tanque1",    nullable=true,  unique=false)
    private java.math.BigDecimal tanque1;

	@Required
    @Column(name="tanque2",    nullable=true,  unique=false)
    private java.math.BigDecimal tanque2;

	@Required
    @Column(name="tanque3",    nullable=true,  unique=false)
    private java.math.BigDecimal tanque3;

	@Required
    @Column(name="tanque4",    nullable=true,  unique=false)
    private java.math.BigDecimal tanque4;

	

	public java.util.Date getFecha() {
		return fecha;
	}

	public void setFecha(java.util.Date fecha) {
		this.fecha = fecha;
	}

	public java.math.BigDecimal getLitrosMicrosM() {
		return litrosMicrosM;
	}

	public void setLitrosMicrosM(java.math.BigDecimal litrosMicrosM) {
		this.litrosMicrosM = litrosMicrosM;
	}

	public java.math.BigDecimal getTanque1() {
		return tanque1;
	}

	public void setTanque1(java.math.BigDecimal tanque1) {
		this.tanque1 = tanque1;
	}

	public java.math.BigDecimal getTanque2() {
		return tanque2;
	}

	public void setTanque2(java.math.BigDecimal tanque2) {
		this.tanque2 = tanque2;
	}

	public java.math.BigDecimal getTanque3() {
		return tanque3;
	}

	public void setTanque3(java.math.BigDecimal tanque3) {
		this.tanque3 = tanque3;
	}

	public java.math.BigDecimal getTanque4() {
		return tanque4;
	}

	public void setTanque4(java.math.BigDecimal tanque4) {
		this.tanque4 = tanque4;
	}

   

    




}
